Release 10.1A: OpenEdge Development:
ADM Reference
highlightWidget
Sets the background and foreground colors (FGCOLOR and BGCOLOR widget attributes) of the named object or objects to a standard highlight color, depending on the value of the highlightType argument. For example, you may want to change the background color of a field with an invalid value to red.
Location: visual.p Parameters:INPUT namelist AS CHARACTERThe name of one or more objects, separated by commas.
INPUT highlightType AS CHARACTERDetermines the color values applied to the FGCOLOR and BGCOLOR widget attributes. Table 3–1 shows the valid values of this parameter map to certain attributes of the visual class.
The default setting uses the default Windows color values for foreground and background. The visual class attributes use values mapped to the application’s color table. Table 3–2 shows the default values for the visual class attributes.
Returns: LOGICAL Notes:The following illustrates the use of this method in 4GL code for use with a graphical user interface:
The following illustrates the use of this method in DHTML code for use with a Web browser:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |